package com.shuqi.download.util;

/**
 * 文件下载状态
 * 
 * @author GaoPeng<gaopeng@ucweb.com>
 * 
 */
public class DownloadStatus {

    /** 等待下载 */
    public final static int STATE_WAIT = 0;

    /** 正在下载 */
    public final static int STATE_RUN = 1;

    /** 停止下载 */
    public final static int STATE_STOP = 2;

    /** 正在解压 */
    public final static int STATE_UNZIP = 3;

    /** 停止解压 */
    public final static int STATE_UNZIP_STOP = 4;

    /** 完成下载 */
    public final static int STATE_DONE = 5;


    /** 网络连接失败 */
    public final static int STATE_ERR_CONN = -1;

    /** 读取数据库失败 */
    public final static int STATE_ERR_DB = -2;

}
